#include "WorkQueueThread.h"

namespace OCPP
{
	WorkQueueThread::WorkQueueThread(DefaultWorkQueueBase* q) : mQueue(q)
	, std::thread(&WorkQueueThread::run, this)
	{

	}

	WorkQueueThread::~WorkQueueThread()
	{

	}

	void WorkQueueThread::run()
	{
		mQueue->_threadMain();
	}
}